package com.crb.smartcard.utils;

public class StringUtil {


    public static String getStringLc(String aid) {
        String hexLc = Integer.toHexString(aid.length() / 2);
        System.out.println("hexLc:" + hexLc);
        String lc = String.format("%2s", hexLc).replace(" ", "0");
        return lc.toUpperCase();
    }

    public static boolean isEmpty(String s) {
        return s == null || s.length() == 0 || "".equals(s) || "null".equals(s);
    }
}
